package com.ginmeta.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 系统信息配置
 * @author GinMeta
 */
@Data
@Component
@ConfigurationProperties(prefix = "system")
public class SystemConfig {

    /**
     * 系统名称
     */
    private String name;

    /**
     * 文件路径
     */
    private static String profile;

    public static String getProfile() {
        return profile;
    }

    public void setProfile(String profile)
    {
        SystemConfig.profile = profile;
    }
}
